package facade.service.impl;

import adapter.GetData;
import adapter.service.AlipayAdapter;
import facade.service.GroupData;

/**
 * 获取支付宝数据的接口
 * @author ChangSir
 *
 */
public class GetAlipay implements GroupData {

	@Override
	public void getData() {
		System.out.println("[外观模式] 组合数据");
		GetData gdi = new AlipayAdapter();
		gdi.open();
		gdi.get();
		gdi.close();
	}

}
